package com.wanmait.heating.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class BillPics implements Serializable {
    private Integer id;

    /**
	* 报修单id
	*/
    private Integer billId;

    /**
	* 维修单id
	*/
    private Integer maintainId;

    /**
	* 维修单图片
	*/
    private String pic;

    /**
	* 排序
	*/
    private Integer sort;

    /**
	* 1：用户报修  2：工人维修
	*/
    private Integer kind;

    /**
	* 上传时间
	*/
    private Date time;

    /**
	* 目前状态（1：可用 0：不可用）
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBillId() {
        return billId;
    }

    public void setBillId(Integer billId) {
        this.billId = billId;
    }

    public Integer getMaintainId() {
        return maintainId;
    }

    public void setMaintainId(Integer maintainId) {
        this.maintainId = maintainId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", billId=").append(billId);
        sb.append(", maintainId=").append(maintainId);
        sb.append(", pic=").append(pic);
        sb.append(", sort=").append(sort);
        sb.append(", kind=").append(kind);
        sb.append(", time=").append(time);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}